body {
  font-weight: 400;
  font-size: 18px;
  background-color: #f4ece1;
}

.none {
  display: none !important;
}

.visually-hidden {
  position: absolute;
  opacity: 0;
  visibility: hidden;
  width: 0;
  height: 0;
  display: block;
  margin-left: -10000px;
  background: transparent;
  font-size: 0;
}

.container {
  max-width: 1740px;
  width: 100%;
  padding-left: 30px;
  padding-right: 30px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 991px) {
  .container {
    padding-left: 5px;
    padding-right: 5px;
  }
}

/* Hero section */
.header {
  padding-top: 35px;
  padding-bottom: 40px;
}

.main-bg-wrapper {
  position: relative;
  z-index: 0;
  
}

.main-bg-wrapper::before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: url("../img/hero-main-bg-case-page.jpg") center/cover no-repeat;
  background-color: #a58763;
  z-index: -1;
}

/* case otchet */

.case-otchet {
    padding-top: 36px;
    padding-bottom: 150px;
}

.case-otchet-content{
    display: flex;
    max-width: 1410px;
    width: 100%;
}

.case-otchet-information {
    display: flex;
    width: fit-content;
    flex-direction: column;
}

.case-otchet-information-nav {
    display: flex;
    gap: 7px;
    margin-bottom: 55px;

}

.case-otchet-information-nav a{
    color: #998E82; 
    font-size: 14px;
    line-height: 20px;
}

.case-otchet-information-nav-divider {
    border: 1px solid #998E82;
  height: 19px;
  margin-bottom: 11px;
}

.case-otchet-information-nav a:last-of-type{
    color: #D3CCBF;
}

.case-otchet-information-nav-divider:last-of-type{
    border: 1px solid #D3CCBF;
}

.case-otchet-information-type {
  width: fit-content;   
  padding: 3px 10px;
  background: #FFF;
  line-height: 20px;
  font-size: 10px;
  color: #B7A78E;
  margin-left: 2px;
  margin-bottom: 19px;
}

.case-otchet-information-data {
  line-height: 20px;
  font-size: 14px;
  color: #B7A78E;
  margin-left: 2px;
}


.case-otchet-text {
    display: flex;
    flex-direction: column;
    max-width: 844px;
    width: 100%;
    margin-top: 95px;
    margin-left: auto;
}

.case-otchet-text-title {
    font-size: 32px;
    line-height: 40px;
    color:#000;
    max-width: 708px;
    margin-bottom: 50px;
    text-transform: uppercase;
}

.case-otchet-text-result {
    font-size: 22px;
    color: #A58763;
    margin-bottom: 50px;
}

.case-otchet-text-about {
    margin-bottom: 54px;
}

.case-otchet-text-official {
    margin-bottom: 54px;
}


.case-otchet-text-protocols{
    display: flex;
    flex-direction: column;
    margin-bottom: 54px;
}

.case-otchet-text-subtitle {
    font-size: 12px;
    color: #A58763;
    margin-bottom: 26px;
}

.case-otchet-text-description {
    font-size: 20px;
    line-height: 25px;
    color: #9A8F81;
}

.protocol{
     font-size: 20px;
    line-height: 25px;
    color: #9A8F81;
    transition: color 0.2s ease;
    margin-bottom: 10px;
}

.protocol:hover{
    color:#7E7972;
}


@media (max-width: 1250px) {
  .case-otchet-content{
    flex-direction: column;
}

.case-otchet-text {
    margin-top: 75px;
    margin-left: 0;
}
}

@media (max-width: 520px) {
    .case-otchet-text-title{
        font-size: 21px;
    }

    .protocol,
    .case-otchet-text-description{
     font-size: 16px;
}
}

@media (max-width: 345px) {
    .case-otchet-text-title{
        font-size: 18px;
    }

    .protocol,
    .case-otchet-text-description{
     font-size: 15px;
}
}

/* case section */
.case-main-header {
  text-align: center;
  font-size: 60px;
  line-height: 60px;
  letter-spacing: 0.05em;
  color: #a58763;
  margin-bottom: 155px;
}

.cases-section {
  padding-bottom: 108px;
}

.case-header {
  display: flex;
  align-items: flex-start;
}

.cases-title {
  color: #2c2c2c;
  text-transform: uppercase;
  font-size: 32px;
  line-height: 45px;
}

.cases-content {
  padding-top: 66px;
  display: flex;
  gap: 36px;
}

.case-card {
  display: flex;
  flex-direction: column;
  width: 530px;
  min-height: 320px;
}

.case-card-tag {
  color: #fff;
  font-size: 10px;
  white-space: nowrap;
  align-self: flex-start;
  height: 25px;
  line-height: 25px;
  padding-left: 10px;
  padding-right: 10px;
  background-color: #a58765;
  margin-bottom: 19px;
}

.case-card-data {
  font-size: 14px;
  color: #b7ad9d;
  line-height: 20px;
  margin-bottom: 11px;
}

.case-card-title {
  font-size: 30px;
  line-height: 34px;
  color: #000;
}

.case-card-price {
  font-size: 20px;
  color: #a58763;
  margin-top: auto;
}

@media (max-width: 991px) {
  .case-main-header {
    font-size: 40px;
    letter-spacing: 0.05em;
    color: #a58763;
    margin-bottom: 30px;
  }


  .cases-content {
    flex-direction: column;
  }

  .case-card {
    width: 100%;
    min-height: unset;
  }

  .case-card-title {
    font-size: 20px;
  }

  .case-card-price {
    font-size: 15px;
  }

}

@media (max-width: 480px) {
    .cases-title{
    font-size: 30px;
  }

  .cases-section .btn {
    height: 45px;
    line-height: 45px;
    padding-left: 18px;
    padding-right: 18px;
    font-size: 18px;
  }
}
